package com.augmentum.sellproductservice.productserver.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/feign")
@Slf4j
public class FeignServerController {
    @PostMapping("/msg")
    public String hello(String name) {
        log.info("name--> " + name);
        return "hello " + name;
    }
}
